Bottom-up synthesis of recursive functional programs using angelic execution
نویسندگان
چکیده
We present a novel bottom-up method for the synthesis of functional recursive programs. While techniques can work better than top-down methods in certain settings, there is no prior technique synthesizing programs from logical specifications purely fashion. The main challenge that effective need to execute sub-expressions code being synthesized, but it impossible subexpression program has not been fully constructed yet. In this paper, we address using concept angelic semantics. Specifically, our finds satisfies specification under semantics (we refer as synthesis), analyzes assumptions made during its execution, uses analysis strengthen specification, and finally reattempts with strengthened specification. Our proposed algorithm based on version space learning therefore deals effectively many incremental calls overall algorithm. have implemented approach prototype called Burst evaluate problems work. experiments show able synthesize solution 94% benchmarks benchmark suite, outperforming
منابع مشابه
Efficient Bottom-Up Execution of Logic Programs Using Abstract Interpretation
B o t t o m u p evaluation of logic programs has recently at tracted much attention in the logic programming and the deductive database field. It is complete [7], and if the number of all possible facts is finite, it is guaranteed to terminate, while t op -down evaluation may not. B o t t o m u p evaluation, however, may be inefficient since it may generate many facts irrelevant to the query. T...
متن کاملEfficient Parallel Execution of Irregular Recursive Programs
Programs whose parallelism stems from multiple re-cursion form an interesting subclass of parallel programs with many practical applications. The highly irregular shape of many recursion trees makes it dif-cult to obtain good load balancing with small overhead. We present a system called REAPAR that automatically parallelizes recursive C programs for SMP machines. Based on data from a single pr...
متن کاملBottom-up Evaluation of Finitely Recursive Queries
The support for function symbols in logic programming under Answer Set Programming semantics (ASP) allows to overcome some modeling limitations of traditional ASP systems, such as the inability of handling infinite domains. On the other hand, admitting function symbols in ASP makes inference undecidable in the general case. Thus, the research is lately focusing on finding proper subclasses of A...
متن کاملBottom-up induction of logic programs with more than one recursive clause
In this paper we present a bottom-up algorithm called MRI to induce logic programs from their examples. This method can induce programs with a base clause and more than one recursive clause from a very small number of examples. MRI is based on the analysis of saturations of examples. It rst generates a path structure, which is an expression of a stream of values processed by predicates. The con...
متن کاملsynthesis of amido alkylnaphthols using nano-magnetic particles and surfactants
we used dbsa and nano-magnetic for the synthesis of amido alkylnaphtols.
15 صفحه اولذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3498682